<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once('src/facebook.php');

class Tutorial extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
		$this->config->load('themes');
		$theme = $this->config->item('tutorial');
		if($theme == "" || !isset($theme))
			$theme = $this->config->item('global_theme');
			
		$this->data['css_dir'] = base_url()."assets/themes/".$theme."/css/";
		$this->data['js_dir'] = base_url()."assets/themes/".$theme."/js/";		
		$this->theme = $theme;		
		
	}
	
	public function index()
	{			
		$this->load->view('header',$this->data);
		$this->load->view('content',$this->data);
		$this->load->view('footer',$this->data);
	}
	
}